package com.cqc.other.designPattern.strategyPattern.strategy2;

import java.io.File;
import java.util.List;

public class FileStrategyContext {

    private FileStrategy fileStrategy;

    public void setFileStrategy(FileStrategy fileStrategy) {
        this.fileStrategy = fileStrategy;
    }

    public List<String[]> readFile(File file) {
        return fileStrategy.readFile(file);
    }
}
